<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>影视大全</title>
    <meta name=viewport content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="https://www.jq22.com/demo/hsycmsAalert202009062303/hsycmsAlert.css">
    <script src="/static/js/jquery.js" ></script>
    <script src="https://www.jq22.com/demo/hsycmsAalert202009062303/hsycmsAlert.js"></script>
    <script> 
        var anzhuoUrl = 'http://damiyingshi.app.bucuo.online?key=qianwenyingshi';
        <?php
            $keyname = $_GET['keyname'];
            if(empty($keyname)) {
                $keyname = "qianwenyingshi";
            }
            
            switch ($keyname) {
                case 'damiyingshi':
                    $keyname = "damiyingshianzhuo";//大米影视跳转bini
                    echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1542175264';";
                    echo "var anzhuoUrl = 'http://damiyingshi.app.bucuo.online?key=damiyingshi'";
                    break;
                case 'damiyingshianzhuo':
                    echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1541121307';";
                    echo "var anzhuoUrl = 'http://damiyingshi.app.bucuo.online?key=damiyingshi'";
                    break;
                case 'renrenyingmijujidi':
                    $keyname = "renrenyingmijujidi";
                    echo "var iosjumpurl = '';";
                    echo "var anzhuoUrl = ''";
                    break;
                case 'qianwenyingshi':
                    echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1541121307';";
                    echo "var anzhuoUrl = 'http://damiyingshi.app.bucuo.online?key=qianwenyingshi'";
                    break;
                case 'qianwenyingshianzhuo':
                    echo "var iosjumpurl = 'https://apps.apple.com/cn/app/id1541121307';";
                    echo "var anzhuoUrl = 'http://damiyingshi.app.bucuo.online?key=qianwenyingshi'";
                    break;
                    
            }
        ?>
    </script>
    <style type="text/css" media="all">
        body, html{
            margin: 0;
        }
        div#app {
            width: 100%;
            height: 100%;
            position: absolute;
            background: #bd2f24;
        }
        .index-box {
            width: 100%;
            height: 100%;
            background: url(./1080.jpg) no-repeat #bd2f24;
            display: flex;
            justify-content: center;
            align-items: center;
            background-size: cover;
        }
        .dayu-logo {
            width: 280px;
            height: 200px;
            margin: 0 auto;
            padding-bottom: 30px;
        }
        .dayu-logo img {
            width: 70%;
            margin: 0 auto;
            display: block;
            border-radius: 5px;
        }
        .index-btn {
            width: 200px;
            border-radius: 30px;
            display: inline-block;
            margin: 0 11px 20px;
            position: relative;
            cursor: pointer;
        }
        .index-btn {
            height: 40px;
            line-height: 40px;
            background: #fff;
            margin: 15px auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .index-btn img { 
            width: 18px;
            margin-right: 8px;
        }
        .index-content {
            width: 100%;
            /*height: 480px;*/
        }
        .index-btn span {
            display: inline-block;
            font-size: 14px;
            color: #555;
            letter-spacing: 0;
            text-align: left;
            padding-left: 0;
            font-family: 微软雅黑;
        }
        #zhezhao {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0,0,0,0.8);
            display: none;
            text-align: right;
        }
        #zhezhao img {
            width: 80%;
            margin-top: 1%;    
            margin-right: 2.5%;
        }
        *{
            moz-user-select: -moz-none;
            -moz-user-select: none;
            -o-user-select:none;
            -khtml-user-select:none;
            -webkit-user-select:none;
            -ms-user-select:none;
            user-select:none;
            box-sizing: initial;
        }
        .dayu-tishi {
            color: #fff;
            text-align: center;
        }
        .dayu-title {
            color: #fff;
            font-size: 42px;
            text-align: center;
            margin: 10px 0 20px;
        }
        .dayu-title font {
            display: block;
            font-size: 18px;
            color: #fff;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="index-box">
            <div class="l_topbar">
                <div class="l_topbarmain"></div>
            </div> 
            <div class="index-content">
                
                <div class="dayu-title">
                    影视大全
                    <font style="margin-top: 10px;">电影 电视剧 体育赛事直播</font>
                    <font>应有尽有,等你来看!</font>
                </div>
                <div class="dayu-logo">
                    <img src="./share/<?php echo $keyname;?>/erweima.png?<?php echo time();?>" alt="">
                </div>
                <div class="btn-box">
                    <div class="index-btn" id="anzhuo"> <!-- onclick="alert('敬请期待！')"-->
                        <img src="" alt=""> 
                        <span><!--敬请期待-->Android版下载</span>
                    </div>
                     <!--onclick="alert('请您敬请期待')"-->
                     <!-- onclick="location.href='https://apps.apple.com/cn/app/id1532850386'"-->
                    <div class="index-btn" id="ios" onclick="location.href=iosjumpurl">
                        <img src="" alt=""> 
                        <span>Ios版下载</span>
                    </div>
                </div>
                <div class="dayu-tishi">
                    iOS需第二次打开才能显示正式内容
                </div>
            </div>
        </div>
    </div> 
    <div id="zhezhao">
        <img src="live_weixin.png?123" alt="" />
    </div>
    <div class="hsycms-model-mask" id="mask-alert"></div>
    <div class="hsycms-model hsycms-model-alert" id="alert">
        <div class="hscysm-model-title">温馨提示</div>
        <div class="hsycms-model-text">这里是内容</div>
        <div class="hsycms-model-btn">
            <button type="button ok">确定</button>
        </div>
    </div>
    <script>
        var ua = navigator.userAgent.toLowerCase();
        
        $("#anzhuo").click(function() {
            if(ua.match(/MicroMessenger/i) == "micromessenger") {
                $("#zhezhao").toggle();
            } else if (ua.match(/qq/i) == "qq") {
                if (ua.match(/mqqbrowser/i) == "mqqbrowser") {
                    //location.href='http://guqiyingshi.app.bucuo.online/'
                    location.href=anzhuoUrl
                } else {
                    $("#zhezhao").toggle();
                }
            } else {
                //location.href='http://guqiyingshi.app.bucuo.online/'
                location.href=anzhuoUrl
            }
        })
        $("#zhezhao").click(function() {
            $("#zhezhao").toggle();
        })
        
        //  onclick="location.href='https://apps.apple.com/cn/app/id1528937351'"
        
        //普通弹窗 
       function alert(txt){     
          hsycms.alert('alert',txt,function(){
            hsycms.close('alert'); 
            console.log("点击了确定");
          })
       }
       
       apiready = function() {
           api.addEventListener({
                name: 'navitembtn'
            }, function () {
                api.closeWin();
            });
       }
    </script>
</body>
</html>